package com.coolgor.axnut.dao.mdmis;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coolgor.axnut.entity.mdmis.Policy;

public interface PolicyImportDao {

	Policy queryPolicyByInsuerNo(String insureNo);
	
	List<Policy> queryPolicyList(@Param("policyCondition") Policy policyCondition,
										@Param("rowIndex") int rowIndex,
										@Param("pageSize") int pageSize);

	int queryPolicyCount(@Param("policyCondition") Policy policyCondition);
	
	int insertPolicy(Policy policy);
	
	int updatePolicy(Policy policy);
	
	int deletePolicy(Policy policy);
	
	int batchDeletePolicy(List<String> idList);

}
